import service from '@/api/index';    //导入封装后的axios
export default class Http {
    //获取系统信息
    public static systemInfo(params?:any) {
        return service.request({
            url: '/sys/info',
            method: 'get',
            params: params
        })
    }
    //获取系统监控数据
    public static systemMonitor(params?:any) {
        return service.request({
            url: '/sys/monitor',
            method: 'get',
            params: params
        })
    }
}